home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / bbs / DayDream111.lha / InstallDD < prev    next >
Text File  |  1995-03-12  |  2KB  |  80 lines

  1. ; DayDream BBS installation program!
  2.  
  3. (set DDVersion "DayDream BBS 1.01")
  4.  
  5.  
  6. (message
  7.         "\nThis installer just creates some directories and copies some files that DayDream BBS requires to work. "
  8.         "Unpack the DayDream BBS distribution archive to the directory you want it to be placed in. "
  9. )
  10.  
  11. (set DestDir (askdir    (prompt "Please Select the directory/partition where you have unpacked DayDream BBS?")
  12.             (help    "This directory is the home of DayDream BBS and all the subdirectories will be placed here.")
  13.             (default "")
  14.              )
  15. )
  16. (makeassign "DayDream" (DestDir))
  17.  
  18. (makedir ("DayDream:Temporary"))
  19. (makedir ("DayDream:Users"))
  20. (makedir ("DayDream:Hold"))
  21. (makedir ("DayDream:Data"))
  22. (makedir ("DayDream:Batch"))
  23. (makedir ("DayDream:Display"))
  24. (makedir ("DayDream:Doors"))
  25. (makedir ("DayDream:Questionnaire"))
  26. (makedir ("DayDream:Logfiles"))
  27.  
  28. (message
  29.         "\nAll required directories have been made!"
  30. )
  31. (copyfiles
  32.     (source ("DayDream:l/fifo-handler"))
  33.     (dest    "L:" )
  34.         (optional "nofail" "askuser")
  35. )
  36. (copyfiles
  37.  
  38.     (source ("DayDream:libs/fifo.library"))
  39.     (dest    "Libs:"  )
  40.  
  41.     (files)
  42.     (optional "nofail" "askuser")
  43. )
  44. (copyfiles
  45.  
  46.     (source ("DayDream:libs/DreamDoor.library"))
  47.     (dest    "Libs:"  )
  48.  
  49.     (files)
  50.     (optional "nofail" "askuser")
  51. )
  52. (run "c:protect DayDream:Batch/Logoff1.BAT +s")
  53. (startup "DayDream"
  54. (prompt     "\nSeveral assignments need to be made to your S:User-Startup "
  55.         "file which allow DayDream to find all the files and directories "
  56.         "we've just installed.\n\n"
  57.         "In addition, other actions required by DayDream will be "
  58.         "added."
  59.     )
  60.     (help    "DayDream requires several assignments so that it can find "
  61.         "all it's files.  A couple of assign statements will be made "
  62.         "to your S:User-Startup file, and will also launch "
  63.         "several of the handlers DayDream requires."
  64.     )
  65.     (command
  66.     ("\n"                        )
  67.     ("assign DayDream:     \"%s\"\n" (getassign "DayDream"    ))
  68.     ("assign Doors: DayDream:Doors/\n")
  69.     ("setenv DreamUtils DayDream:Configs/\n")
  70.     ("run <>NIL: L:FIFO-Handler\n"     )
  71.     ("path <>NIL: daydream:utils add\n"     )
  72.     ("rexxmast >NIL:\n\n"             )
  73.     )
  74. )
  75. (run "c:assign Doors: DayDream:Doors/")
  76. (run "setenv DreamUtils DayDream:Configs/")
  77. (run "run <>NIL: L:Fifo-handler")
  78. (run "rexxmast >NIL:")
  79. (run "path <>NIL: DayDream:utils/ add")
  80.